// import express from "express";
import express from "./express/index.js";

const app = express(); // const app = new Koa()

// express 内置路由系统  koa  router.get('/user',function(ctx){})
app.get(
  "/",
  function (req, res, next) {
    console.log(1);
    next();
  },
  function (req, res, next) {
    console.log(2);
    next();
  }
);
app.get(
  "/",
  function (req, res, next) {
    console.log(33);
    next();
  },
  function (req, res, next) {
    console.log(44);
    next();
  }
);
app.listen(3000);

// koa-router
